package com.glink.manage.vo.upload;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glink.common.serializer.JsonDate5DeSerializer;
import com.glink.common.serializer.JsonDate5Serializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
* @author  qiushaoshan
* @since 2024-07-05
*/
@ApiModel(value="AttachmentImageIdVO", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttachmentAppVO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    private String objId;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "静态文件路径")
    private String staticFilePath;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件名称-原始")
    private String fileNameOriginal;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = JsonDate5DeSerializer.class)
    @JsonSerialize(using = JsonDate5Serializer.class)
    private Date createTime;
}
